package com.tianma.upload.uploadjartest.prototype.demo01;

import java.util.Date;

/**
 * @author lgc
 * @createDate 2020/8/12 - 17:37
 */
public class Bilibili {
    public static void main(String[] args) throws CloneNotSupportedException {
        Date date = new Date();
        Video lgc = new Video("lgc学java", date);
        Video clone =(Video)lgc.clone();
        clone.setName("copyLgc学java");
        System.out.println("lgc = " + lgc);
        System.out.println("clone = " + clone);

        date.setTime(845652486);
        System.out.println("lgc = " + lgc);
        System.out.println("clone = " + clone);
    }
}
